<template>
  <div class="nav-logo">
    <img
      src="../../../assets/img/产品logo.png"
      style="width: 32px; height: 32px"
    />
    <span v-if="!collapsed" class="logo-font">新东方智能化</span>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'

export default defineComponent({
  props: {
    collapsed: {
      type: Boolean,
      default: false
    }
  },
  setup() {
    return {}
  }
})
</script>
<style scoped lang="less">
.nav-logo {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-font {
  color: #fff;
  margin-left: 20px;
  font-size: 18px;
}
</style>
